<template>
	<view class="businessBox">
		<view class="left"></view>
		<view class="center">
			<view class="p1">
				官方严选商城
			</view>
			<view class="p2">
				<view class="pp1">
					<view class="icon">

					</view>
					<view class="text">
						已认证
					</view>
				</view>
				<view class="pp2">
					<view class="icon">

					</view>
					<view class="text">
						精选
					</view>
				</view>
				<view class="pp3">
					<view class="text">
						商家资质
					</view>
					<view class="icon">

					</view>
				</view>
			</view>
		</view>
		<view class="right">
			<view class="box" @click="shoping">
				<view class="icon">

				</view>
				<view class="text">
					进店逛逛
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				countOne: 5,
				valueOne: 2,
				countTwo: 5,
				valueTwo: 3,
				countThree: 5,
				valueThree: 5
			}
		},
		methods:{
			shoping(){
				uni.navigateTo({
					url:"/pages/detail/soppings/soppings"
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.businessBox {
		width: 100%;
		height: 100%;
		background-color: #010101;
		display: flex;
		justify-content: space-between;
		align-items: center;

		.left {
			width: 110rpx;
			height: 110rpx;
			border: 1px solid white;
			margin-left: 40rpx;
			border-radius: 20rpx;
		}

		.center {
			width: 300rpx;
			height: 120rpx;
			display: flex;
			flex-direction: column;
			justify-content: space-evenly;
			margin-left: 10rpx;

			.p1 {
				font-size: 30rpx;
				font-weight: bold;
				color: white;
			}

			.p2 {
				display: flex;

				.pp1 {
					display: flex;
					align-items: center;

					.icon {
						width: 20rpx;
						height: 20rpx;
						background-image: url("/static/detail/pp1.png");
						background-size: contain;
						background-position: center;
						background-repeat: no-repeat;
					}

					.text {
						color: #c7c7c7;
						font-size: 24rpx;
						margin-left: 4rpx;
					}
				}

				.pp2 {
					display: flex;
					align-items: center;
					margin-left: 10rpx;

					.icon {
						width: 20rpx;
						height: 20rpx;
						background-image: url("/static/detail/pp2.png");
						background-size: contain;
						background-position: center;
						background-repeat: no-repeat;
					}

					.text {
						color: #c7c7c7;
						font-size: 24rpx;
						margin-left: 4rpx;
					}
				}

				.pp3 {
					display: flex;
					align-items: center;
					margin-left: 10rpx;

					.text {
						color: #c7c7c7;
						font-size: 24rpx;
						margin-left: 6rpx;
					}

					.icon {
						width: 20rpx;
						height: 20rpx;
						background-image: url("/static/detail/right_ccc.png");
						background-size: contain;
						background-position: center;
						background-repeat: no-repeat;
					}
				}
			}
		}

		.right {
			width: 180rpx;
			height: 180rpx;
			background-image: url("/static/detail/business.png");
			background-size: contain;
			background-position: center;
			background-repeat: no-repeat;
			margin-right: 30rpx;
			display: flex;
			align-items: center;

			.box {
				width: 180rpx;
				height: 60rpx;
				border: 1px solid white;
				border-radius: 30rpx;
				background-color: #202020;
				display: flex;
				align-items: center;
				justify-content: space-evenly;
				padding: 0px 10rpx;

				.icon {
					width: 30rpx;
					height: 30rpx;
					background-color: #E8E8E8;
				}

				.text {
					color: #E8E8E8;
					font-size: 26rpx;
				}
			}
		}
	}
</style>